package ${package}.${rootArtifactId}.common.constant;

/**
 * redis常量类
 *
 * @author weidong.lin
 * @date 2021/7/8 17:35
 */
public class RedisConstant {
    /**
     * 并发锁时间秒
     */
    public static final Long SECONDS_60 = 60L;
    /**
     * token存储前缀
     */
    public static final String TOKEN_KEY_PREFIX = "${rootArtifactId}:token:";
    /**
     * 存储分割符号
     */
    public static final String REDIS_KEY_SPLIT = ":";
    /**
     * 超时时间[单位：天]
     */
    public final static int SNO_OUT_TIME = 2;
    /**
     * 序号长度5
     */
    public final static int SNO_LENGTH_5 = 5;
}
